package org.millioncall.yueyoga.admin.service.stat;

import java.util.ArrayList;
import java.util.List;

/**
 * 表格的一行
 * 
 * @author zangjinyu
 * @version 1.0.0
 * 
 */
public class Tr extends HtmlTag {
	private List<Td> tds = new ArrayList<Td>();

	public Tr() {
		super();
	}

	public void addTd(Td td) {
		this.tds.add(td);
	}

	public void addTd(int index, Td td) {
		this.tds.add(index, td);
	}

	public void setTd(int index, Td td) {
		this.tds.set(index, td);
	}

	public void removeTd(Td td) {
		this.tds.remove(td);
	}

	public void remove(int index) {
		this.tds.remove(index);
	}

	public List<Td> getTds() {
		return tds;
	}

	public void setTds(List<Td> tds) {
		this.tds = tds;
	}

}
